package com.xiaoh.dormitoryrepairreportbackend.model.dto.skill;

import com.xiaoh.dormitoryrepairreportbackend.model.dto.user.UserResponse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用户技能汇总响应DTO
 */
@Data
@Schema(description = "用户技能汇总响应信息")
public class UserSkillSummaryResponse implements Serializable {

    @Schema(description = "用户基本信息")
    private UserResponse userInfo;

    @Schema(description = "技能列表")
    private List<SkillCategoryInfo> skills;

    @Data
    @Schema(description = "技能类别信息")
    public static class SkillCategoryInfo implements Serializable {

        @Schema(description = "维修类别ID")
        private Integer categoryId;

        @Schema(description = "维修类别名称")
        private String categoryName;

        @Schema(description = "维修类别描述")
        private String categoryDescription;

        @Schema(description = "是否启用")
        private Integer isActive;

        private static final long serialVersionUID = 1L;
    }

    private static final long serialVersionUID = 1L;
}
